// 枚举状态码 根据自己需要定义
export enum Code {
    login,
    register,
    reset_password,
    change_email,
    auth_email,
}

export enum CodeSubject {
    login = "登录验证码",
    register = "注册验证码",
    reset_password = "修改密码验证码",
    change_email = "修改邮箱验证码",
    auth_email = "验证邮箱验证码",
}
// 验证码的类型
export type CodeType = keyof typeof Code;
// 验证码的主题
export type CodeSubjectType = keyof typeof CodeSubject;
